package service.impl;

import dao.UserDao;
import dao.impl.UserDaoimpl;
import pojo.User;
import service.UserService;

import java.util.ArrayList;

public class UserServiceimpl implements UserService {
    UserDao userDao=new UserDaoimpl();

    @Override
    public int insertUser(User user) {
        return 0;
    }

    @Override
    public ArrayList selectUsername(User user) {
        return userDao.selectUsername(user);
    }

    @Override
    public ArrayList selectByIdcard(String Idcard) {
        return userDao.selectByIdcard(Idcard);
    }
}
